package com.item.dao.model;

import java.util.List;
import java.util.ArrayList;

public class UserExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public UserExample(){
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(String value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(String value) {
			addCriterion("id <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(String value) {
			addCriterion("id >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(String value) {
			addCriterion("id >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(String value) {
			addCriterion("id <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(String value) {
			addCriterion("id <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLike(String value) {
			addCriterion("id like", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotLike(String value) {
			addCriterion("id not like", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<String> values) {
			addCriterion("id in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<String> values) {
			addCriterion("id not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(String value1, String value2) {
			addCriterion("id between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(String value1, String value2) {
			addCriterion("id not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andAccountIsNull() {
			addCriterion("account is null");
			return (Criteria) this;
		}

		public Criteria andAccountIsNotNull() {
			addCriterion("account is not null");
			return (Criteria) this;
		}

		public Criteria andAccountEqualTo(String value) {
			addCriterion("account =", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountNotEqualTo(String value) {
			addCriterion("account <>", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountGreaterThan(String value) {
			addCriterion("account >", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountGreaterThanOrEqualTo(String value) {
			addCriterion("account >=", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountLessThan(String value) {
			addCriterion("account <", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountLessThanOrEqualTo(String value) {
			addCriterion("account <=", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountLike(String value) {
			addCriterion("account like", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountNotLike(String value) {
			addCriterion("account not like", value, "account");
			return (Criteria) this;
		}

		public Criteria andAccountIn(List<String> values) {
			addCriterion("account in", values, "account");
			return (Criteria) this;
		}

		public Criteria andAccountNotIn(List<String> values) {
			addCriterion("account not in", values, "account");
			return (Criteria) this;
		}

		public Criteria andAccountBetween(String value1, String value2) {
			addCriterion("account between", value1, value2, "account");
			return (Criteria) this;
		}

		public Criteria andAccountNotBetween(String value1, String value2) {
			addCriterion("account not between", value1, value2, "account");
			return (Criteria) this;
		}

		public Criteria andPasswordIsNull() {
			addCriterion("password is null");
			return (Criteria) this;
		}

		public Criteria andPasswordIsNotNull() {
			addCriterion("password is not null");
			return (Criteria) this;
		}

		public Criteria andPasswordEqualTo(String value) {
			addCriterion("password =", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordNotEqualTo(String value) {
			addCriterion("password <>", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordGreaterThan(String value) {
			addCriterion("password >", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordGreaterThanOrEqualTo(String value) {
			addCriterion("password >=", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordLessThan(String value) {
			addCriterion("password <", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordLessThanOrEqualTo(String value) {
			addCriterion("password <=", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordLike(String value) {
			addCriterion("password like", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordNotLike(String value) {
			addCriterion("password not like", value, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordIn(List<String> values) {
			addCriterion("password in", values, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordNotIn(List<String> values) {
			addCriterion("password not in", values, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordBetween(String value1, String value2) {
			addCriterion("password between", value1, value2, "password");
			return (Criteria) this;
		}

		public Criteria andPasswordNotBetween(String value1, String value2) {
			addCriterion("password not between", value1, value2, "password");
			return (Criteria) this;
		}

		public Criteria andNickNameIsNull() {
			addCriterion("nick_name is null");
			return (Criteria) this;
		}

		public Criteria andNickNameIsNotNull() {
			addCriterion("nick_name is not null");
			return (Criteria) this;
		}

		public Criteria andNickNameEqualTo(String value) {
			addCriterion("nick_name =", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameNotEqualTo(String value) {
			addCriterion("nick_name <>", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameGreaterThan(String value) {
			addCriterion("nick_name >", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameGreaterThanOrEqualTo(String value) {
			addCriterion("nick_name >=", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameLessThan(String value) {
			addCriterion("nick_name <", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameLessThanOrEqualTo(String value) {
			addCriterion("nick_name <=", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameLike(String value) {
			addCriterion("nick_name like", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameNotLike(String value) {
			addCriterion("nick_name not like", value, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameIn(List<String> values) {
			addCriterion("nick_name in", values, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameNotIn(List<String> values) {
			addCriterion("nick_name not in", values, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameBetween(String value1, String value2) {
			addCriterion("nick_name between", value1, value2, "nickName");
			return (Criteria) this;
		}

		public Criteria andNickNameNotBetween(String value1, String value2) {
			addCriterion("nick_name not between", value1, value2, "nickName");
			return (Criteria) this;
		}

		public Criteria andHeadImgIsNull() {
			addCriterion("head_img is null");
			return (Criteria) this;
		}

		public Criteria andHeadImgIsNotNull() {
			addCriterion("head_img is not null");
			return (Criteria) this;
		}

		public Criteria andHeadImgEqualTo(String value) {
			addCriterion("head_img =", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgNotEqualTo(String value) {
			addCriterion("head_img <>", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgGreaterThan(String value) {
			addCriterion("head_img >", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgGreaterThanOrEqualTo(String value) {
			addCriterion("head_img >=", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgLessThan(String value) {
			addCriterion("head_img <", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgLessThanOrEqualTo(String value) {
			addCriterion("head_img <=", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgLike(String value) {
			addCriterion("head_img like", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgNotLike(String value) {
			addCriterion("head_img not like", value, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgIn(List<String> values) {
			addCriterion("head_img in", values, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgNotIn(List<String> values) {
			addCriterion("head_img not in", values, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgBetween(String value1, String value2) {
			addCriterion("head_img between", value1, value2, "headImg");
			return (Criteria) this;
		}

		public Criteria andHeadImgNotBetween(String value1, String value2) {
			addCriterion("head_img not between", value1, value2, "headImg");
			return (Criteria) this;
		}

		public Criteria andSexIsNull() {
			addCriterion("sex is null");
			return (Criteria) this;
		}

		public Criteria andSexIsNotNull() {
			addCriterion("sex is not null");
			return (Criteria) this;
		}

		public Criteria andSexEqualTo(Integer value) {
			addCriterion("sex =", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotEqualTo(Integer value) {
			addCriterion("sex <>", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThan(Integer value) {
			addCriterion("sex >", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThanOrEqualTo(Integer value) {
			addCriterion("sex >=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThan(Integer value) {
			addCriterion("sex <", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThanOrEqualTo(Integer value) {
			addCriterion("sex <=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexIn(List<Integer> values) {
			addCriterion("sex in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotIn(List<Integer> values) {
			addCriterion("sex not in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexBetween(Integer value1, Integer value2) {
			addCriterion("sex between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotBetween(Integer value1, Integer value2) {
			addCriterion("sex not between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andBalanceIsNull() {
			addCriterion("balance is null");
			return (Criteria) this;
		}

		public Criteria andBalanceIsNotNull() {
			addCriterion("balance is not null");
			return (Criteria) this;
		}

		public Criteria andBalanceEqualTo(java.math.BigDecimal value) {
			addCriterion("balance =", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceNotEqualTo(java.math.BigDecimal value) {
			addCriterion("balance <>", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceGreaterThan(java.math.BigDecimal value) {
			addCriterion("balance >", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceGreaterThanOrEqualTo(java.math.BigDecimal value) {
			addCriterion("balance >=", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceLessThan(java.math.BigDecimal value) {
			addCriterion("balance <", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceLessThanOrEqualTo(java.math.BigDecimal value) {
			addCriterion("balance <=", value, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceIn(List<java.math.BigDecimal> values) {
			addCriterion("balance in", values, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceNotIn(List<java.math.BigDecimal> values) {
			addCriterion("balance not in", values, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
			addCriterion("balance between", value1, value2, "balance");
			return (Criteria) this;
		}

		public Criteria andBalanceNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
			addCriterion("balance not between", value1, value2, "balance");
			return (Criteria) this;
		}

		public Criteria andLatIsNull() {
			addCriterion("lat is null");
			return (Criteria) this;
		}

		public Criteria andLatIsNotNull() {
			addCriterion("lat is not null");
			return (Criteria) this;
		}

		public Criteria andLatEqualTo(String value) {
			addCriterion("lat =", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatNotEqualTo(String value) {
			addCriterion("lat <>", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatGreaterThan(String value) {
			addCriterion("lat >", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatGreaterThanOrEqualTo(String value) {
			addCriterion("lat >=", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatLessThan(String value) {
			addCriterion("lat <", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatLessThanOrEqualTo(String value) {
			addCriterion("lat <=", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatLike(String value) {
			addCriterion("lat like", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatNotLike(String value) {
			addCriterion("lat not like", value, "lat");
			return (Criteria) this;
		}

		public Criteria andLatIn(List<String> values) {
			addCriterion("lat in", values, "lat");
			return (Criteria) this;
		}

		public Criteria andLatNotIn(List<String> values) {
			addCriterion("lat not in", values, "lat");
			return (Criteria) this;
		}

		public Criteria andLatBetween(String value1, String value2) {
			addCriterion("lat between", value1, value2, "lat");
			return (Criteria) this;
		}

		public Criteria andLatNotBetween(String value1, String value2) {
			addCriterion("lat not between", value1, value2, "lat");
			return (Criteria) this;
		}

		public Criteria andLngIsNull() {
			addCriterion("lng is null");
			return (Criteria) this;
		}

		public Criteria andLngIsNotNull() {
			addCriterion("lng is not null");
			return (Criteria) this;
		}

		public Criteria andLngEqualTo(String value) {
			addCriterion("lng =", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngNotEqualTo(String value) {
			addCriterion("lng <>", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngGreaterThan(String value) {
			addCriterion("lng >", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngGreaterThanOrEqualTo(String value) {
			addCriterion("lng >=", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngLessThan(String value) {
			addCriterion("lng <", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngLessThanOrEqualTo(String value) {
			addCriterion("lng <=", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngLike(String value) {
			addCriterion("lng like", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngNotLike(String value) {
			addCriterion("lng not like", value, "lng");
			return (Criteria) this;
		}

		public Criteria andLngIn(List<String> values) {
			addCriterion("lng in", values, "lng");
			return (Criteria) this;
		}

		public Criteria andLngNotIn(List<String> values) {
			addCriterion("lng not in", values, "lng");
			return (Criteria) this;
		}

		public Criteria andLngBetween(String value1, String value2) {
			addCriterion("lng between", value1, value2, "lng");
			return (Criteria) this;
		}

		public Criteria andLngNotBetween(String value1, String value2) {
			addCriterion("lng not between", value1, value2, "lng");
			return (Criteria) this;
		}

		public Criteria andLocationIsNull() {
			addCriterion("location is null");
			return (Criteria) this;
		}

		public Criteria andLocationIsNotNull() {
			addCriterion("location is not null");
			return (Criteria) this;
		}

		public Criteria andLocationEqualTo(String value) {
			addCriterion("location =", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationNotEqualTo(String value) {
			addCriterion("location <>", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationGreaterThan(String value) {
			addCriterion("location >", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationGreaterThanOrEqualTo(String value) {
			addCriterion("location >=", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationLessThan(String value) {
			addCriterion("location <", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationLessThanOrEqualTo(String value) {
			addCriterion("location <=", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationLike(String value) {
			addCriterion("location like", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationNotLike(String value) {
			addCriterion("location not like", value, "location");
			return (Criteria) this;
		}

		public Criteria andLocationIn(List<String> values) {
			addCriterion("location in", values, "location");
			return (Criteria) this;
		}

		public Criteria andLocationNotIn(List<String> values) {
			addCriterion("location not in", values, "location");
			return (Criteria) this;
		}

		public Criteria andLocationBetween(String value1, String value2) {
			addCriterion("location between", value1, value2, "location");
			return (Criteria) this;
		}

		public Criteria andLocationNotBetween(String value1, String value2) {
			addCriterion("location not between", value1, value2, "location");
			return (Criteria) this;
		}

		public Criteria andCreditIsNull() {
			addCriterion("credit is null");
			return (Criteria) this;
		}

		public Criteria andCreditIsNotNull() {
			addCriterion("credit is not null");
			return (Criteria) this;
		}

		public Criteria andCreditEqualTo(Integer value) {
			addCriterion("credit =", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditNotEqualTo(Integer value) {
			addCriterion("credit <>", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditGreaterThan(Integer value) {
			addCriterion("credit >", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditGreaterThanOrEqualTo(Integer value) {
			addCriterion("credit >=", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditLessThan(Integer value) {
			addCriterion("credit <", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditLessThanOrEqualTo(Integer value) {
			addCriterion("credit <=", value, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditIn(List<Integer> values) {
			addCriterion("credit in", values, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditNotIn(List<Integer> values) {
			addCriterion("credit not in", values, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditBetween(Integer value1, Integer value2) {
			addCriterion("credit between", value1, value2, "credit");
			return (Criteria) this;
		}

		public Criteria andCreditNotBetween(Integer value1, Integer value2) {
			addCriterion("credit not between", value1, value2, "credit");
			return (Criteria) this;
		}

		public Criteria andStateIsNull() {
			addCriterion("state is null");
			return (Criteria) this;
		}

		public Criteria andStateIsNotNull() {
			addCriterion("state is not null");
			return (Criteria) this;
		}

		public Criteria andStateEqualTo(Integer value) {
			addCriterion("state =", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateNotEqualTo(Integer value) {
			addCriterion("state <>", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateGreaterThan(Integer value) {
			addCriterion("state >", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateGreaterThanOrEqualTo(Integer value) {
			addCriterion("state >=", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateLessThan(Integer value) {
			addCriterion("state <", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateLessThanOrEqualTo(Integer value) {
			addCriterion("state <=", value, "state");
			return (Criteria) this;
		}

		public Criteria andStateIn(List<Integer> values) {
			addCriterion("state in", values, "state");
			return (Criteria) this;
		}

		public Criteria andStateNotIn(List<Integer> values) {
			addCriterion("state not in", values, "state");
			return (Criteria) this;
		}

		public Criteria andStateBetween(Integer value1, Integer value2) {
			addCriterion("state between", value1, value2, "state");
			return (Criteria) this;
		}

		public Criteria andStateNotBetween(Integer value1, Integer value2) {
			addCriterion("state not between", value1, value2, "state");
			return (Criteria) this;
		}

		public Criteria andBannedPostIsNull() {
			addCriterion("banned_post is null");
			return (Criteria) this;
		}

		public Criteria andBannedPostIsNotNull() {
			addCriterion("banned_post is not null");
			return (Criteria) this;
		}

		public Criteria andBannedPostEqualTo(Integer value) {
			addCriterion("banned_post =", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostNotEqualTo(Integer value) {
			addCriterion("banned_post <>", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostGreaterThan(Integer value) {
			addCriterion("banned_post >", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostGreaterThanOrEqualTo(Integer value) {
			addCriterion("banned_post >=", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostLessThan(Integer value) {
			addCriterion("banned_post <", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostLessThanOrEqualTo(Integer value) {
			addCriterion("banned_post <=", value, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostIn(List<Integer> values) {
			addCriterion("banned_post in", values, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostNotIn(List<Integer> values) {
			addCriterion("banned_post not in", values, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostBetween(Integer value1, Integer value2) {
			addCriterion("banned_post between", value1, value2, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andBannedPostNotBetween(Integer value1, Integer value2) {
			addCriterion("banned_post not between", value1, value2, "bannedPost");
			return (Criteria) this;
		}

		public Criteria andLoginTimeIsNull() {
			addCriterion("login_time is null");
			return (Criteria) this;
		}

		public Criteria andLoginTimeIsNotNull() {
			addCriterion("login_time is not null");
			return (Criteria) this;
		}

		public Criteria andLoginTimeEqualTo(java.util.Date value) {
			addCriterion("login_time =", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeNotEqualTo(java.util.Date value) {
			addCriterion("login_time <>", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeGreaterThan(java.util.Date value) {
			addCriterion("login_time >", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeGreaterThanOrEqualTo(java.util.Date value) {
			addCriterion("login_time >=", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeLessThan(java.util.Date value) {
			addCriterion("login_time <", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeLessThanOrEqualTo(java.util.Date value) {
			addCriterion("login_time <=", value, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeIn(List<java.util.Date> values) {
			addCriterion("login_time in", values, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeNotIn(List<java.util.Date> values) {
			addCriterion("login_time not in", values, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("login_time between", value1, value2, "loginTime");
			return (Criteria) this;
		}

		public Criteria andLoginTimeNotBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("login_time not between", value1, value2, "loginTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(java.util.Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(java.util.Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(java.util.Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(java.util.Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(java.util.Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<java.util.Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<java.util.Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("create_time not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andSignIsNull() {
			addCriterion("sign is null");
			return (Criteria) this;
		}

		public Criteria andSignIsNotNull() {
			addCriterion("sign is not null");
			return (Criteria) this;
		}

		public Criteria andSignEqualTo(String value) {
			addCriterion("sign =", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignNotEqualTo(String value) {
			addCriterion("sign <>", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignGreaterThan(String value) {
			addCriterion("sign >", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignGreaterThanOrEqualTo(String value) {
			addCriterion("sign >=", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignLessThan(String value) {
			addCriterion("sign <", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignLessThanOrEqualTo(String value) {
			addCriterion("sign <=", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignLike(String value) {
			addCriterion("sign like", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignNotLike(String value) {
			addCriterion("sign not like", value, "sign");
			return (Criteria) this;
		}

		public Criteria andSignIn(List<String> values) {
			addCriterion("sign in", values, "sign");
			return (Criteria) this;
		}

		public Criteria andSignNotIn(List<String> values) {
			addCriterion("sign not in", values, "sign");
			return (Criteria) this;
		}

		public Criteria andSignBetween(String value1, String value2) {
			addCriterion("sign between", value1, value2, "sign");
			return (Criteria) this;
		}

		public Criteria andSignNotBetween(String value1, String value2) {
			addCriterion("sign not between", value1, value2, "sign");
			return (Criteria) this;
		}

		public Criteria andLastTimeIsNull() {
			addCriterion("last_time is null");
			return (Criteria) this;
		}

		public Criteria andLastTimeIsNotNull() {
			addCriterion("last_time is not null");
			return (Criteria) this;
		}

		public Criteria andLastTimeEqualTo(java.util.Date value) {
			addCriterion("last_time =", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeNotEqualTo(java.util.Date value) {
			addCriterion("last_time <>", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeGreaterThan(java.util.Date value) {
			addCriterion("last_time >", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeGreaterThanOrEqualTo(java.util.Date value) {
			addCriterion("last_time >=", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeLessThan(java.util.Date value) {
			addCriterion("last_time <", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeLessThanOrEqualTo(java.util.Date value) {
			addCriterion("last_time <=", value, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeIn(List<java.util.Date> values) {
			addCriterion("last_time in", values, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeNotIn(List<java.util.Date> values) {
			addCriterion("last_time not in", values, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("last_time between", value1, value2, "lastTime");
			return (Criteria) this;
		}

		public Criteria andLastTimeNotBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("last_time not between", value1, value2, "lastTime");
			return (Criteria) this;
		}

		public Criteria andTypeIsNull() {
			addCriterion("type is null");
			return (Criteria) this;
		}

		public Criteria andTypeIsNotNull() {
			addCriterion("type is not null");
			return (Criteria) this;
		}

		public Criteria andTypeEqualTo(Integer value) {
			addCriterion("type =", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotEqualTo(Integer value) {
			addCriterion("type <>", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThan(Integer value) {
			addCriterion("type >", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("type >=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThan(Integer value) {
			addCriterion("type <", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThanOrEqualTo(Integer value) {
			addCriterion("type <=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeIn(List<Integer> values) {
			addCriterion("type in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotIn(List<Integer> values) {
			addCriterion("type not in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeBetween(Integer value1, Integer value2) {
			addCriterion("type between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("type not between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andDeptNoIsNull() {
			addCriterion("dept_no is null");
			return (Criteria) this;
		}

		public Criteria andDeptNoIsNotNull() {
			addCriterion("dept_no is not null");
			return (Criteria) this;
		}

		public Criteria andDeptNoEqualTo(String value) {
			addCriterion("dept_no =", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoNotEqualTo(String value) {
			addCriterion("dept_no <>", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoGreaterThan(String value) {
			addCriterion("dept_no >", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoGreaterThanOrEqualTo(String value) {
			addCriterion("dept_no >=", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoLessThan(String value) {
			addCriterion("dept_no <", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoLessThanOrEqualTo(String value) {
			addCriterion("dept_no <=", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoLike(String value) {
			addCriterion("dept_no like", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoNotLike(String value) {
			addCriterion("dept_no not like", value, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoIn(List<String> values) {
			addCriterion("dept_no in", values, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoNotIn(List<String> values) {
			addCriterion("dept_no not in", values, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoBetween(String value1, String value2) {
			addCriterion("dept_no between", value1, value2, "deptNo");
			return (Criteria) this;
		}

		public Criteria andDeptNoNotBetween(String value1, String value2) {
			addCriterion("dept_no not between", value1, value2, "deptNo");
			return (Criteria) this;
		}

		public Criteria andFirmNameIsNull() {
			addCriterion("firm_name is null");
			return (Criteria) this;
		}

		public Criteria andFirmNameIsNotNull() {
			addCriterion("firm_name is not null");
			return (Criteria) this;
		}

		public Criteria andFirmNameEqualTo(String value) {
			addCriterion("firm_name =", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameNotEqualTo(String value) {
			addCriterion("firm_name <>", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameGreaterThan(String value) {
			addCriterion("firm_name >", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameGreaterThanOrEqualTo(String value) {
			addCriterion("firm_name >=", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameLessThan(String value) {
			addCriterion("firm_name <", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameLessThanOrEqualTo(String value) {
			addCriterion("firm_name <=", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameLike(String value) {
			addCriterion("firm_name like", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameNotLike(String value) {
			addCriterion("firm_name not like", value, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameIn(List<String> values) {
			addCriterion("firm_name in", values, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameNotIn(List<String> values) {
			addCriterion("firm_name not in", values, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameBetween(String value1, String value2) {
			addCriterion("firm_name between", value1, value2, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmNameNotBetween(String value1, String value2) {
			addCriterion("firm_name not between", value1, value2, "firmName");
			return (Criteria) this;
		}

		public Criteria andFirmAddressIsNull() {
			addCriterion("firm_address is null");
			return (Criteria) this;
		}

		public Criteria andFirmAddressIsNotNull() {
			addCriterion("firm_address is not null");
			return (Criteria) this;
		}

		public Criteria andFirmAddressEqualTo(String value) {
			addCriterion("firm_address =", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressNotEqualTo(String value) {
			addCriterion("firm_address <>", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressGreaterThan(String value) {
			addCriterion("firm_address >", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressGreaterThanOrEqualTo(String value) {
			addCriterion("firm_address >=", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressLessThan(String value) {
			addCriterion("firm_address <", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressLessThanOrEqualTo(String value) {
			addCriterion("firm_address <=", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressLike(String value) {
			addCriterion("firm_address like", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressNotLike(String value) {
			addCriterion("firm_address not like", value, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressIn(List<String> values) {
			addCriterion("firm_address in", values, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressNotIn(List<String> values) {
			addCriterion("firm_address not in", values, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressBetween(String value1, String value2) {
			addCriterion("firm_address between", value1, value2, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andFirmAddressNotBetween(String value1, String value2) {
			addCriterion("firm_address not between", value1, value2, "firmAddress");
			return (Criteria) this;
		}

		public Criteria andIsVerifyIsNull() {
			addCriterion("is_verify is null");
			return (Criteria) this;
		}

		public Criteria andIsVerifyIsNotNull() {
			addCriterion("is_verify is not null");
			return (Criteria) this;
		}

		public Criteria andIsVerifyEqualTo(Integer value) {
			addCriterion("is_verify =", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyNotEqualTo(Integer value) {
			addCriterion("is_verify <>", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyGreaterThan(Integer value) {
			addCriterion("is_verify >", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyGreaterThanOrEqualTo(Integer value) {
			addCriterion("is_verify >=", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyLessThan(Integer value) {
			addCriterion("is_verify <", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyLessThanOrEqualTo(Integer value) {
			addCriterion("is_verify <=", value, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyIn(List<Integer> values) {
			addCriterion("is_verify in", values, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyNotIn(List<Integer> values) {
			addCriterion("is_verify not in", values, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyBetween(Integer value1, Integer value2) {
			addCriterion("is_verify between", value1, value2, "isVerify");
			return (Criteria) this;
		}

		public Criteria andIsVerifyNotBetween(Integer value1, Integer value2) {
			addCriterion("is_verify not between", value1, value2, "isVerify");
			return (Criteria) this;
		}

		public Criteria andRoleCodeIsNull() {
			addCriterion("role_code is null");
			return (Criteria) this;
		}

		public Criteria andRoleCodeIsNotNull() {
			addCriterion("role_code is not null");
			return (Criteria) this;
		}

		public Criteria andRoleCodeEqualTo(String value) {
			addCriterion("role_code =", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeNotEqualTo(String value) {
			addCriterion("role_code <>", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeGreaterThan(String value) {
			addCriterion("role_code >", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeGreaterThanOrEqualTo(String value) {
			addCriterion("role_code >=", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeLessThan(String value) {
			addCriterion("role_code <", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeLessThanOrEqualTo(String value) {
			addCriterion("role_code <=", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeLike(String value) {
			addCriterion("role_code like", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeNotLike(String value) {
			addCriterion("role_code not like", value, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeIn(List<String> values) {
			addCriterion("role_code in", values, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeNotIn(List<String> values) {
			addCriterion("role_code not in", values, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeBetween(String value1, String value2) {
			addCriterion("role_code between", value1, value2, "roleCode");
			return (Criteria) this;
		}

		public Criteria andRoleCodeNotBetween(String value1, String value2) {
			addCriterion("role_code not between", value1, value2, "roleCode");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameIsNull() {
			addCriterion("is_init_nick_name is null");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameIsNotNull() {
			addCriterion("is_init_nick_name is not null");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameEqualTo(Integer value) {
			addCriterion("is_init_nick_name =", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameNotEqualTo(Integer value) {
			addCriterion("is_init_nick_name <>", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameGreaterThan(Integer value) {
			addCriterion("is_init_nick_name >", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameGreaterThanOrEqualTo(Integer value) {
			addCriterion("is_init_nick_name >=", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameLessThan(Integer value) {
			addCriterion("is_init_nick_name <", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameLessThanOrEqualTo(Integer value) {
			addCriterion("is_init_nick_name <=", value, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameIn(List<Integer> values) {
			addCriterion("is_init_nick_name in", values, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameNotIn(List<Integer> values) {
			addCriterion("is_init_nick_name not in", values, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameBetween(Integer value1, Integer value2) {
			addCriterion("is_init_nick_name between", value1, value2, "isInitNickName");
			return (Criteria) this;
		}

		public Criteria andIsInitNickNameNotBetween(Integer value1, Integer value2) {
			addCriterion("is_init_nick_name not between", value1, value2, "isInitNickName");
			return (Criteria) this;
		}

}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
		return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}